package com.wzqj.agent.web.domain;

import java.util.Date;

/**
 * 代理商表
 * @author gz
 *
 */
public class Agent {

	/**
	 * 主键
	 */
	private Integer id;
	/**
	 * 代理商名称
	 */
	private String name ;
	/**
	 * 代理商级别
	 */
	private int level;//1:总经理 2:核心代理3:普通代理
	/**
	 * 授权区域
	 */
	private String authorZone;
	/**
	 * 授权省
	 */
	private String province;
	/**
	 * 授权市
	 */
	private String city;
	/**
	 * 联系人
	 */
	private String contactName;
	/**
	 * 联系电话
	 */
	private String contactPhone;
	/**
	 * 父级主键ID
	 */
	private Integer parentId;
	/**
	 * 有无任命下级代理的权限	
	 */
	private int proxy;//1：有 0：无 
	/**
	 * 用户状态
	 */
	private Integer status;//1：正常  0：冻结
	/**
	 * 创建时间
	 */
	private long createTime = new Date().getTime();
	
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the level
	 */
	public int getLevel() {
		return level;
	}
	/**
	 * @param level the level to set
	 */
	public void setLevel(int level) {
		this.level = level;
	}
	/**
	 * @return the authorZone
	 */
	public String getAuthorZone() {
		return authorZone;
	}
	/**
	 * @param authorZone the authorZone to set
	 */
	public void setAuthorZone(String authorZone) {
		this.authorZone = authorZone;
	}
	/**
	 * @return the contactName
	 */
	public String getContactName() {
		return contactName;
	}
	/**
	 * @param contactName the contactName to set
	 */
	public void setContactName(String contactName) {
		this.contactName = contactName;
	}
	/**
	 * @return the contactPhone
	 */
	public String getContactPhone() {
		return contactPhone;
	}
	/**
	 * @param contactPhone the contactPhone to set
	 */
	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}
	/**
	 * @return the parentId
	 */
	public Integer getParentId() {
		return parentId;
	}
	/**
	 * @param parentId the parentId to set
	 */
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	/**
	 * @return the createTime
	 */
	public long getCreateTime() {
		return createTime;
	}
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}
	/**
	 * @return the proxy
	 */
	public int getProxy() {
		return proxy;
	}
	/**
	 * @param proxy the proxy to set
	 */
	public void setProxy(int proxy) {
		this.proxy = proxy;
	}
	/**
	 * @return the status
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * @param status the status to set
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * @return the province
	 */
	public String getProvince() {
		return province;
	}
	/**
	 * @param province the province to set
	 */
	public void setProvince(String province) {
		this.province = province;
	}
	/**
	 * @return the city
	 */
	public String getCity() {
		return city;
	}
	/**
	 * @param city the city to set
	 */
	public void setCity(String city) {
		this.city = city;
	}
	


	
}
